package com.ss.android.article.base.ui;

import android.support.v4.view.ViewPager.OnPageChangeListener;

public final class x implements OnPageChangeListener {
    private final MessageTabLineView a;

    public x(MessageTabLineView arg1) {
        this.a = arg1;

    }

    public final void onPageScrollStateChanged(int state) {
    }

    public final void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
        this.a.setLocation(1f / (((float)this.a.a)) * (((float) position)) + 1f / (((float)this.a.a)) * positionOffset);
    }

    public final void onPageSelected(int position) {
    }
}

